According to the theories of automaton in the compiler principle, this paper presented the designing and programming algorithms of the interface of static simulation models in urban traffic organization optimization. Data exchange was through files. 根据编译原理中的自动机理论,设计信号交叉口静态仿真模型接口及接口实现算法,数据交换采用中性文件交换方式。